home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 March / chip-cd_2005_03d.zip / 03d / Multimedia / AutoGK 1.60 / AutoGordianKnot.1.60.Setup.exe / DGMPGDec / DGParse.txt < prev    next >
Text File  |  2004-05-21  |  2KB  |  74 lines

  1. DGParse
  2. by Donald Graft
  3. ---------------
  4.  
  5. This command line executable parses a D2V and displays useful
  6. information to the standard output. It shows the following
  7. information:
  8.  
  9. Clip field dominance
  10. GOP starts
  11. Encoded frame to display frame mappings
  12. 3:2 pattern breaks
  13. Illegal transitions (field dominance changes)
  14. TFF/RFF flag values
  15.  
  16. Usage: dgparse d2v_file
  17.  
  18. The output is obvious except for the encoded frame to display frame
  19. mappings. It works like this:
  20.  
  21. f: a,b,c
  22.  
  23. f is the encoded frame number (before any pulldown). a, b, and c are
  24. the display frame numbers (after pulldown) in which the fields of the
  25. encoded frame will appear.
  26.  
  27. Here is a sample run:
  28.  
  29. Encoded Frame: Display Frames -- Flags Byte
  30. -------------------------------------------
  31. [GOP START]
  32. [CLIP IS TFF]
  33. 0: 0,0 -- 2
  34. 1: 1,1,2 -- 3
  35. 2: 2,3 -- 0
  36. 3: 3,4,4 -- 1
  37. 4: 5,5 -- 2
  38. 5: 6,6,7 -- 3
  39. 6: 7,8 -- 0
  40. 7: 8,9,9 -- 1
  41. 8: 10,10 -- 2
  42. 9: 11,11,12 -- 3
  43. 10: 12,13 -- 0
  44. 11: 13,14,14 -- 1
  45. [GOP START]
  46. 12: 15,15 -- 2
  47. 13: 16,16,17 -- 3
  48. 14: 17,18 -- 2 [3:2 pattern break] [ILLEGAL TRANSITION!]
  49. 15: 18,19,19 -- 3
  50. 16: 20,20 -- 0
  51. 17: 21,21,22 -- 1
  52. 18: 22,23 -- 2
  53. 19: 23,24,24 -- 3
  54. 20: 25,25 -- 0
  55. 21: 26,26,27 -- 1
  56. 22: 27,28 -- 2
  57. 23: 28,29,29 -- 3
  58. [GOP START]
  59. 24: 30,30 -- 2 [3:2 pattern break] [ILLEGAL TRANSITION!]
  60. 25: 31,31 -- 2 [3:2 pattern break]
  61. 26: 32,32 -- 2 [3:2 pattern break]
  62. 27: 33,33 -- 2 [3:2 pattern break]
  63. 28: 34,34 -- 2 [3:2 pattern break]
  64. 29: 35,35 -- 2 [3:2 pattern break]
  65. 30: 36,36 -- 2 [3:2 pattern break]
  66. 31: 37,37 -- 2 [3:2 pattern break]
  67. 32: 38,38 -- 2 [3:2 pattern break]
  68. 33: 39,39 -- 2 [3:2 pattern break]
  69. 34: 40,40 -- 2 [3:2 pattern break]
  70. 35: 41,41 -- 2 [3:2 pattern break]
  71. [EOF]
  72.  
  73. (C) Donald A. Graft 2004
  74.